New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

mf-generator

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf-generator

[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url]


Version published
Maintainers
2
Created

mf-generator

NPM version npm download

.

Installation

$ npm install --save mf-generator

Usage

const generateMFs = require('mf-generator');

const mfsArray = ['C,H,', 'Cl,Br'];
generateMFs(mfsArray).then((entries) => {
  const results = entries.map((entry) => entry.mf);
  console.log(results);
});

// result = 'Cl', 'HCl', 'CCl', 'Br', 'HBr', 'CBr'

License

MIT

FAQs

Package last updated on 05 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts